<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: wheels::container::heap&lt; Key, Value, isLess &gt; 模板类 参考</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../df/d8d/namespacewheels.html">wheels</a></li><li class="navelem"><a class="el" href="../../d2/d9e/namespacewheels_1_1container.html">container</a></li><li class="navelem"><a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">heap</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../d1/d1e/classwheels_1_1container_1_1heap-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">wheels::container::heap&lt; Key, Value, isLess &gt; 模板类 参考</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a>&gt;</code></p>
<div class="dynheader">
wheels::container::heap&lt; Key, Value, isLess &gt; 的协作图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d7/d10/classwheels_1_1container_1_1heap__coll__graph.png" border="0" usemap="#awheels_1_1container_1_1heap_3_01_key_00_01_value_00_01is_less_01_4_coll__map" alt="Collaboration graph"/></div>
<map name="awheels_1_1container_1_1heap_3_01_key_00_01_value_00_01is_less_01_4_coll__map" id="awheels_1_1container_1_1heap_3_01_key_00_01_value_00_01is_less_01_4_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,185,384"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:afa9a85f112517fd6b174136b0e148a35" id="r_afa9a85f112517fd6b174136b0e148a35"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afa9a85f112517fd6b174136b0e148a35">key_type</a> = Key</td></tr>
<tr class="separator:afa9a85f112517fd6b174136b0e148a35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19518d3d04725b5b24c4d0c944f3c2cd" id="r_a19518d3d04725b5b24c4d0c944f3c2cd"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a19518d3d04725b5b24c4d0c944f3c2cd">value_type</a> = Value</td></tr>
<tr class="separator:a19518d3d04725b5b24c4d0c944f3c2cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a0c0bb3a4a359d9ce961c599809c409e2" id="r_a0c0bb3a4a359d9ce961c599809c409e2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0c0bb3a4a359d9ce961c599809c409e2">heap</a> ()</td></tr>
<tr class="separator:a0c0bb3a4a359d9ce961c599809c409e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3536f084745e7c7a075011c3e50cb663" id="r_a3536f084745e7c7a075011c3e50cb663"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3536f084745e7c7a075011c3e50cb663">~heap</a> ()</td></tr>
<tr class="separator:a3536f084745e7c7a075011c3e50cb663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95552ba64aadd51c3e975867aa7a14da" id="r_a95552ba64aadd51c3e975867aa7a14da"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a95552ba64aadd51c3e975867aa7a14da">insert</a> (const Key &amp;key, const Value &amp;value)</td></tr>
<tr class="separator:a95552ba64aadd51c3e975867aa7a14da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14ea76518cc3b336c6f5a283b0b1f372" id="r_a14ea76518cc3b336c6f5a283b0b1f372"><td class="memItemLeft" align="right" valign="top">std::pair&lt; Key, Value &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a14ea76518cc3b336c6f5a283b0b1f372">pop</a> ()</td></tr>
<tr class="separator:a14ea76518cc3b336c6f5a283b0b1f372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf0477fb1b86af6cb4bafc2124b3f244" id="r_aaf0477fb1b86af6cb4bafc2124b3f244"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaf0477fb1b86af6cb4bafc2124b3f244">empty</a> () const</td></tr>
<tr class="separator:aaf0477fb1b86af6cb4bafc2124b3f244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2138098e1df2a651b2d702bc3bd0a811" id="r_a2138098e1df2a651b2d702bc3bd0a811"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2138098e1df2a651b2d702bc3bd0a811">size</a> () const</td></tr>
<tr class="separator:a2138098e1df2a651b2d702bc3bd0a811"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa97b868795afe49aacda60449b84a37" id="r_afa97b868795afe49aacda60449b84a37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#afa97b868795afe49aacda60449b84a37">erase</a> (const Key &amp;key)</td></tr>
<tr class="separator:afa97b868795afe49aacda60449b84a37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fcab875723b88c872db475740644fab" id="r_a2fcab875723b88c872db475740644fab"><td class="memItemLeft" align="right" valign="top">iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a2fcab875723b88c872db475740644fab">find</a> (const Key &amp;key)</td></tr>
<tr class="memdesc:a2fcab875723b88c872db475740644fab"><td class="mdescLeft">&#160;</td><td class="mdescRight">查找指定key的内容  <br /></td></tr>
<tr class="separator:a2fcab875723b88c872db475740644fab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6921120ad7784c22e133253a1163246" id="r_aa6921120ad7784c22e133253a1163246"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa6921120ad7784c22e133253a1163246">has</a> (const Key &amp;key)</td></tr>
<tr class="memdesc:aa6921120ad7784c22e133253a1163246"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断是否存在key为指定内容的数据  <br /></td></tr>
<tr class="separator:aa6921120ad7784c22e133253a1163246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77a8316b3b781555ec4de6aade444e2a" id="r_a77a8316b3b781555ec4de6aade444e2a"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a77a8316b3b781555ec4de6aade444e2a">begin</a> ()</td></tr>
<tr class="separator:a77a8316b3b781555ec4de6aade444e2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61a7fdbb01dc4ecb96e8695b4e401cda" id="r_a61a7fdbb01dc4ecb96e8695b4e401cda"><td class="memItemLeft" align="right" valign="top">auto&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a61a7fdbb01dc4ecb96e8695b4e401cda">end</a> ()</td></tr>
<tr class="separator:a61a7fdbb01dc4ecb96e8695b4e401cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;typename Key, typename Value, bool isLess = true&gt;<br />
class wheels::container::heap&lt; Key, Value, isLess &gt;</div>
<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00020">20</a> 行定义.</p>
</div><h2 class="groupheader">成员类型定义说明</h2>
<a id="afa9a85f112517fd6b174136b0e148a35" name="afa9a85f112517fd6b174136b0e148a35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa9a85f112517fd6b174136b0e148a35">&#9670;&#160;</a></span>key_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::key_type = Key</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00022">22</a> 行定义.</p>

</div>
</div>
<a id="a19518d3d04725b5b24c4d0c944f3c2cd" name="a19518d3d04725b5b24c4d0c944f3c2cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a19518d3d04725b5b24c4d0c944f3c2cd">&#9670;&#160;</a></span>value_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::value_type = Value</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00023">23</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a0c0bb3a4a359d9ce961c599809c409e2" name="a0c0bb3a4a359d9ce961c599809c409e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c0bb3a4a359d9ce961c599809c409e2">&#9670;&#160;</a></span>heap()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::heap </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00041">41</a> 行定义.</p>

</div>
</div>
<a id="a3536f084745e7c7a075011c3e50cb663" name="a3536f084745e7c7a075011c3e50cb663"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3536f084745e7c7a075011c3e50cb663">&#9670;&#160;</a></span>~heap()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::~<a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">heap</a> </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00042">42</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a77a8316b3b781555ec4de6aade444e2a" name="a77a8316b3b781555ec4de6aade444e2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77a8316b3b781555ec4de6aade444e2a">&#9670;&#160;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">auto <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::begin </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00101">101</a> 行定义.</p>

</div>
</div>
<a id="aaf0477fb1b86af6cb4bafc2124b3f244" name="aaf0477fb1b86af6cb4bafc2124b3f244"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf0477fb1b86af6cb4bafc2124b3f244">&#9670;&#160;</a></span>empty()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::empty </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00057">57</a> 行定义.</p>

</div>
</div>
<a id="a61a7fdbb01dc4ecb96e8695b4e401cda" name="a61a7fdbb01dc4ecb96e8695b4e401cda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61a7fdbb01dc4ecb96e8695b4e401cda">&#9670;&#160;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">auto <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::end </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00102">102</a> 行定义.</p>

</div>
</div>
<a id="afa97b868795afe49aacda60449b84a37" name="afa97b868795afe49aacda60449b84a37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa97b868795afe49aacda60449b84a37">&#9670;&#160;</a></span>erase()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::erase </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00065">65</a> 行定义.</p>

</div>
</div>
<a id="a2fcab875723b88c872db475740644fab" name="a2fcab875723b88c872db475740644fab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fcab875723b88c872db475740644fab">&#9670;&#160;</a></span>find()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">iterator <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::find </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>查找指定key的内容 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">key[</td><td>I ],要查找的键 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回对应的迭代器 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00081">81</a> 行定义.</p>

</div>
</div>
<a id="aa6921120ad7784c22e133253a1163246" name="aa6921120ad7784c22e133253a1163246"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6921120ad7784c22e133253a1163246">&#9670;&#160;</a></span>has()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::has </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断是否存在key为指定内容的数据 </p>
<dl class="section return"><dt>返回</dt><dd>key[ I ]， 要判断的键 </dd></dl>

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00092">92</a> 行定义.</p>

</div>
</div>
<a id="a95552ba64aadd51c3e975867aa7a14da" name="a95552ba64aadd51c3e975867aa7a14da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95552ba64aadd51c3e975867aa7a14da">&#9670;&#160;</a></span>insert()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::insert </td>
          <td>(</td>
          <td class="paramtype">const Key &amp;</td>          <td class="paramname"><span class="paramname"><em>key</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Value &amp;</td>          <td class="paramname"><span class="paramname"><em>value</em></span>&#160;)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
<a id="a14ea76518cc3b336c6f5a283b0b1f372" name="a14ea76518cc3b336c6f5a283b0b1f372"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a14ea76518cc3b336c6f5a283b0b1f372">&#9670;&#160;</a></span>pop()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::pair&lt; Key, Value &gt; <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::pop </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00050">50</a> 行定义.</p>

</div>
</div>
<a id="a2138098e1df2a651b2d702bc3bd0a811" name="a2138098e1df2a651b2d702bc3bd0a811"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2138098e1df2a651b2d702bc3bd0a811">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Key , typename Value , bool isLess = true&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="../../d9/daf/classwheels_1_1container_1_1heap.html">wheels::container::heap</a>&lt; Key, Value, isLess &gt;::size </td>
          <td>(</td>
          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a> 第 <a class="el" href="../../da/d45/heap_8hpp_source.html#l00061">61</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>include/container/<a class="el" href="../../da/d45/heap_8hpp_source.html">heap.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
